<template>
  <el-card style="font-size: 8px">
    <div slot="header">
      <span>{{ goods.name }}({{ goods.count }})</span>
    </div>
    <div>
      <p>等级: {{ goods.level }}</p>
      <p>属性: {{ goods.extra }}</p>
    </div>
  </el-card>
</template>

<script>
export default {
  name: 'Goods',
  props: {
    goods: {
      required: true,
      type: Object
    }
  }
}
</script>
